define(function() {
	return Backbone.Model.extend({  
	  defaults: {  
		id: 0,
		img: "",
		title: "",
		href: "",
		desc: "",
		user: {
			href: "",
			avatar: "",
			name: ""
		},
		pubDate: "",
		zan: 0 
	  },

	  validate: function(attrs, options) {  
	    if (attrs.user.name == "") {  
	      return "用户名不能为空！";  
	    };  
	  }
	});
});